package joodin.impl.widgets.internal;

import org.jowidgets.common.image.IImageConstant;
import org.jowidgets.spi.widgets.IMenuItemSpi;

import com.vaadin.ui.ComponentContainer;
import com.vaadin.ui.Label;

public class PopupSeparator implements IMenuItemSpi {
	
	Label separator;
	
	public PopupSeparator(ComponentContainer parent) {
		separator = new Label("<hr />",Label.CONTENT_XHTML);
//		parent.addComponent(separator);
	}

	@Override
	public Label getUiReference() {
		return separator;
	}

	@Override
	public void setEnabled(boolean enabled) {

	}

	@Override
	public boolean isEnabled() {
		return false;
	}

	@Override
	public void setText(String text) {
	}

	@Override
	public void setToolTipText(String text) {
		
	}

	@Override
	public void setIcon(IImageConstant icon) {
		
	}

	@Override
	public void setMnemonic(char mnemonic) {		
	}

}
